package main

import "fmt"

func main()  {
	var num = 3
	row := make([]int,num+1)
	row[0] = 1
	for i := 1;i<=num;i++ {
		for j := i;j>0;j-- {
			row[j] += row[j-1]
		}
	}
	fmt.Println(row)
}